﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimCMS.Repository
{
    public interface IRepository<T>
    {
        void Delete(T entity);
        T Get(object id);
        IList<T> LoadAll();
        object Save(T entity);
        void Update(T entity);
        IList<T> FindByNamedQuery(string queryName, string[] ParamName, Object[] value);
    }
}
